"""
@author: Shizuku
@file: smj.py
@time: 2022/11/24 20:49
"""
import random
import string


def activecoding(n):
    for i in range(n):
        ac = ''.join(random.sample(string.ascii_uppercase + string.digits, 32))
        with open("ActiveCode.txt", "a") as f:
            f.write(ac + "\n")
